package symbols;

public class Position {

    private final int row;

    private final int line;

    private final String path;

    public Position(final int line, final int row, final String path) {
        this.row = row;
        this.line = line;
        this.path = path;
    }

    public int getLine() {
        return this.line + 1;
    }

    public int getRow() {
        return this.row;
    }

    public String toString() {
        return "(" + this.getLine() + ", " + this.getRow() + ")";
    }
}
